package com.zsj.Recursion;

/**
 * @Author zsj
 * @Version 1.0
 * @Date 2023/11/6 17:34
 * @Description
 */
public class Test {

    public static void main(String[] args) {
        dj(5);
    }

    public static void dj(int n){
        if (n >2)dj(n-1);
        System.out.println(n);
    }
}
